package com.wangzefeng.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangzefeng.shop.entity.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wangzefeng
 * @since 2021-03-15
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> selectRolesByUserId(@Param("userId") Integer userId);

}
